package com.fqxiny.lease.web.admin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.fqxiny.lease.model.entity.RoomLeaseTerm;
import com.fqxiny.lease.web.admin.service.RoomLeaseTermService;
import com.fqxiny.lease.web.admin.mapper.RoomLeaseTermMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 25312
* @description 针对表【room_lease_term(房间租期管理表)】的数据库操作Service实现
* @createDate 2025-03-25 19:55:24
*/
@Service
public class RoomLeaseTermServiceImpl extends ServiceImpl<RoomLeaseTermMapper, RoomLeaseTerm>
    implements RoomLeaseTermService{
    @Resource
    private RoomLeaseTermMapper roomLeaseTermMapper;
    @Override
    public List<Long> listByRoomId(Long id) {
        return roomLeaseTermMapper.listByRoomId(id);
    }
}




